<<<<<<< HEAD
import React,{useEffect,Fragment} from 'react'
import {connect} from 'react-redux'
import {db,auth,app} from '../../utils/cloudbase'
import Outline from './Outline'
import {updateAvatarUrl,updateAvatarTempUrl,updateNickname,updateUserName} from '../../redux/actions/userInform'
function Home(props){
    useEffect(()=>{
        console.log(props)
        auth.currentUser.refresh().then(()=>{
         
            props.updateAvatarUrl(auth.currentUser.avatarUrl)
            props.updateNickname(auth.currentUser.nickName)
            props.updateAvatarTempUrl(auth.currentUser.avatarUrl);
            props.updateUserName(
                JSON.parse(localStorage.getItem('user_info_hello-cloudbase-3gex1usx2cacaebd')).content
                    .username
            );
        })
    })
    
    return(
        <Fragment>
            <Outline/>
        </Fragment> 
    )
}
export default connect(
    state=>{},
    {updateAvatarUrl,updateAvatarTempUrl,updateNickname,updateUserName}
)(Home) 
=======
import React from 'react'
function Home(){
    return(
        <div>Home</div> 
    )
}
export default Home
>>>>>>> 736eaa2195c1b7bca646cbfe9c94a3bf4562f62a
